// 用户模块
export default {
  namespaced: true,
  // 响应式数据
  state: () => ({
    // 个人用户信息
    profile: {
      id: '',
      nickname: '',
      avatar: '',
      token: '',
      mobile: ''
    }
  }),

  mutations: {
    setUser (state, payload) {
      state.profile.id = '10001'
    }
  },

  actions: {},

  getters: {}
}
